<#ftl encoding='UTF-8'>
<#assign firstArray=[1,21,31,41,51,61,71,81,91,101,121,131,141,151,161,171,181,191,201]>
<#assign secondArray=[10,11,12,13,14,15,16,17,18,19,20,30,40,50,60,70,80,90,100,110,111,112,113,114,115,116,117,118,119,120,130,140,150,160,170,180,190,200,210]>
<head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head>
<body style="margin-left: 1cm;margin-right: 0cm;">
<table width=720 cellpadding=0 cellspacing=0 style="page-break-before: always">
    <col width=710>
    <tr>
        <td width=710 valign=top style="border: none;margin-left: 0in;margin-right: 3cm;padding: 0in;">
            <p style="font-family:'Times New Roman';font-size: 12pt;margin-bottom: 4pt"><br></p>
            <p align="center" style="margin-bottom: 0in;margin-top: 0in"><img src="http://appdevel20.kada.lan:8080/share/res/components/images/rclogo.png"/></p>
            <p align="center" style="font-family:'Times New Roman';font-size: 12pt;margin-bottom: 0in"><b>VALSTYBĖS ĮMONĖS REGISTRŲ CENTRO</b></p>
            <p align="center" style="font-family:'Times New Roman';font-size: 12pt;margin-bottom: 30pt"><b>DIREKTORIUS</b></p>
        </td>
    </tr>
</table>
<table width=720 cellpadding=0 cellspacing=0 style="page-break-before: avoid;">
    <col width=710>
    <tr>
        <td width=710 valign=top style="border: none;margin-left: 0in;margin-right: 3cm;padding: 0in;">
            <p align="center" style="font-family:'Times New Roman';font-size: 12pt;margin-bottom: 0in"><b>ĮSAKYMAS</b></p>
            <p align="center" style="font-family:'Times New Roman';font-size: 12pt;margin-bottom: 30pt"><b>DĖL KASMETINIŲ ATOSTOGŲ SUTEIKIMO
            <#if args['employeFullName']??>${args['employeFullName']?upper_case}<#else>NENURODYTAS VARDAS!</#if></b></p>
            <p align="center" style="font-family:'Times New Roman';font-size: 12pt;margin-bottom: 0in">20 <span style="text-decoration: underline;">&emsp;</span> m. <span style="text-decoration: underline;">&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;</span> <span style="text-decoration: underline;">&emsp;&emsp;</span> d.  Nr.<span style="text-decoration: underline;">&emsp;&emsp;&emsp;</span> </p>
            <p align="center" style="font-family:'Times New Roman';font-size: 12pt;margin-bottom: 0in">Vilnius</p>
        </td>
    </tr>
</table>
<table width=720 cellpadding=0 cellspacing=0 style="page-break-before: avoid;">
    <col width=710>
    <tr>
        <td width=710 valign=top style="border: none;margin-left: 0in;margin-right: 1cm;padding: 0in;">
            <p align="justify" style="line-height:1.5;font-family:'Times New Roman';font-size: 12pt;margin-bottom: 36pt;margin-top: 24pt;margin-right: 0in">
                &emsp;&emsp;&emsp;<span style="font-family: 'Courier New';font-size: 12pt">Suteikiu</span> kasmetines atostogas
            <#if args['employeDivision']??>${args['employeDivision']}<#else>NENURODYTAS DARBUOTOJO SKYRIUS!</#if>
            <#if args['employePosition']??>${args['employePosition']}<#else>NENURODYTOS DARBUOTOJO PAREIGOS!</#if>
            <#if args['employeFullName']??>${args['employeFullName']}<#else>NENURODYTAS VARDAS!</#if>
                nuo <#if args['dateIntervalOneFrom']??>${args['dateIntervalOneFrom']}<#else>NENURODYTA DATA!</#if>
                iki <#if args['dateIntervalOneTo']??>${args['dateIntervalOneTo']}<#else>NENURODYTA DATA!</#if>
                įskaitytinai:
            <#if args['text']??>
                <#assign num=args['text']?number>
                <#if firstArray?seq_contains(num)>
                ${args['text']} kalendorinę dieną
                <#elseif secondArray?seq_contains(num)>
                ${args['text']} kalendorinių dienų
                <#else>
                ${args['text']} kalendorines dienas
                </#if>
            <#else> NENURODYTAS DIENŲ SKAIČIUS!
            </#if>
                už darbo metus nuo
            <#if args['dateIntervalTwoFrom']??>${args['dateIntervalTwoFrom']}
            <#else>NENURODYTA DATA!
            </#if>
                iki
            <#if args['dateIntervalTwoTo']??>${args['dateIntervalTwoTo']}<#else>NENURODYTA DATA</#if><#if args['orderAdditionalDaysOne']??><#if args['orderAdditionalDaysOne'] == null>.<#else>,
                        <#assign numOne=args['orderAdditionalDaysOne']?number>
                        <#if firstArray?seq_contains(numOne)>
                        ${numOne} kalendorinę dieną
                        <#elseif secondArray?seq_contains(numOne)>
                        ${numOne} kalendorinių dienų
                        <#else>
                        ${numOne} kalendorines dienas
                        </#if>
                        už darbo metus nuo
                        <#if args['orderAdditionalPeriodOneFrom']??>${args['orderAdditionalPeriodOneFrom']}
                        <#else>NENURODYTA DATA!
                        </#if>
                        iki
                        <#if args['orderAdditionalPeriodOneTo']??>${args['orderAdditionalPeriodOneTo']}<#else>NENURODYTA DATA</#if><#if args['orderAdditionalDaysTwo']??><#if args['orderAdditionalDaysTwo'] == null>.<#else>,
                                <#assign numTwo=args['orderAdditionalDaysTwo']?number>
                                <#if firstArray?seq_contains(numTwo)>${numTwo} kalendorinę dieną
                                <#elseif secondArray?seq_contains(numTwo)>${numTwo} kalendorinių dienų
                                <#else>${numTwo} kalendorines dienas
                                </#if>
                                už darbo metus nuo
                                <#if args['orderAdditionalPeriodTwoFrom']??>${args['orderAdditionalPeriodTwoFrom']}
                                <#else>NENURODYTA DATA!
                                </#if>
                                iki
                                <#if args['orderAdditionalPeriodTwoTo']??>${args['orderAdditionalPeriodTwoTo']}.<#else>NENURODYTA DATA!</#if>
                            </#if>
                        <#else>.
                        </#if>
                    </#if>
                    <#else>.
                </#if>
            </p>
        </td>
    </tr>
</table>
<p align="left" style="font-family:'Times New Roman';font-size: 12pt;float:left; width:350px;margin-left:0in;">
<#if args['position']??>${args['position']}
<#else>NENURODYTOS VADOVO PAREIGOS!
</#if>
</p>
<p align="right" style="font-family:'Times New Roman';font-size: 12pt;float:right;margin-right:0in;">
<#if args['assigneeName']??>${args['assigneeName']}
<#else>NENURODYTAS VADOVO VARDAS!
</#if>
</p>
</body>


<#--style="line-height:1.5"-->